<?php
require_once ROOT_PATH.'mobiapi/request/base.req.php';

class MobiRequest extends BaseRequest
{
	var $story_id;
	var $type;
	var $content;
	
	function __construct($request)
	{
		parent::__construct($request);

		$this->story_id = isset($request['story_id']) ? $request['story_id'] : '';
		$this->type = isset($request['type']) ? $request['type'] : '';
		$this->content = isset($request['content']) ? $request['content'] : '';
	}
	
	function is_valid()
	{
		return ($this->content != '');
	}
}